package edu.inf3.j2ee.entities;


public class Student {
	private long id;
	private String name;
	private String lastName;
	private String email;
	private iClass iclass;
	private Credentials cred;

	public Student (){
		
	}
	
	public Student (String name, String lname, String email){
		this.name = name;
		this.lastName = lname;
		this.email = email;
	}	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLastName() {
		return lastName;
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public iClass getiClass (){
		return this.iclass;
	}
	public void setiClass (iClass iclass){
		this.iclass = iclass;
	}

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the iclass
	 */
	public iClass getIclass() {
		return iclass;
	}

	/**
	 * @param iclass the iclass to set
	 */
	public void setIclass(iClass iclass) {
		this.iclass = iclass;
	}

	/**
	 * @return the cred
	 */
	public Credentials getCred() {
		return cred;
	}

	/**
	 * @param cred the cred to set
	 */
	public void setCred(Credentials cred) {
		this.cred = cred;
	}
	
}
